/* ==========================================================================
   Phone layout for five homepage sections
   ==========================================================================

   Loaded from top.php with media="(max-width: 600px)" on the <link>, so not
   one rule in this file can reach the desktop layout. That is deliberate:
   desktop stays exactly as it was.

   Measured before this file existed, at 375x667:

       course gallery        14080px   44 cards, one per row
       card list              2859px   4 cards, one per row
       placement copy         1096px   3 justified paragraphs
       testimonial             504px   rendered broken (see below)

   Together that was over 18k of a 25.8k page.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Course gallery - 44 cards

   Each card is a single 1146x834 image with the artwork on the left half and
   the course name, description and duration pill baked into the right half.
   At two-up a card is ~165px wide, which renders that baked text at roughly
   4-8px - illegible. So the tile crops to the artwork half only and the
   course name is drawn back as real HTML text over a gradient.

   1146 / 576 = 1.99, hence background-size: 199%. Every card image in this
   set shares those exact dimensions, so one ratio crops all 44 correctly.
   -------------------------------------------------------------------------- */

.coursesGallery_container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
    margin: 0 !important;
    padding: 1rem 0.7rem 0 !important;
}

.coursesGallery_container .course_card {
    position: relative;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    background-size: 199% auto !important;
    background-position: left center !important;
    border-bottom: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(16, 20, 32, .10);
}

.coursesGallery_container .course_card > a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: none !important;
}

/* The two <p> inside .course_title are empty - they only added padding */
.coursesGallery_container .course_card .course_title { display: none !important; }

.cg-label {
    display: block;
    width: 100%;
    padding: 30px 8px 8px;
    background: linear-gradient(to top, rgba(8, 10, 16, .93) 42%, rgba(8, 10, 16, 0));
    color: #fff;
    font: 700 11.5px/1.28 Lato, "Segoe UI", system-ui, sans-serif;
    text-align: left;
    text-transform: none;
}

/* Progressive reveal - JS hides everything past the first six */
.coursesGallery_container .cg-hidden { display: none !important; }

.cg-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 0.7rem 4px;
}

.cg-btn {
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    background: #14161c;
    color: #fff;
    font: 700 0.92rem/1.2 Lato, "Segoe UI", system-ui, sans-serif;
    letter-spacing: .02em;
    cursor: pointer;
}

.cg-btn:active { transform: scale(.98); }

.cg-all {
    border: 0;
    background: none;
    padding: 2px 6px;
    color: #eb6020;
    font: 600 0.84rem/1.2 Lato, "Segoe UI", system-ui, sans-serif;
    cursor: pointer;
}

.cg-btn:focus-visible,
.cg-all:focus-visible { outline: 2px solid #eb6020; outline-offset: 2px; }


/* --------------------------------------------------------------------------
   2 + 3. Auto-scrolling rails (card list, testimonials)

   Same seamless-loop trick as the collaborations rail: the children are
   cloned once by JS and the track translates exactly -50%, so the moment the
   first set leaves the mask the copy sits in precisely its place.

   The rail pauses on touch and on keyboard focus. Auto-scrolling content
   with tappable buttons inside is otherwise a moving target.
   -------------------------------------------------------------------------- */

.rail-mask {
    position: relative;
    overflow: hidden;

    /* full-bleed: a strip that stops short of the edge reads as clipped */
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);

    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.rail-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    align-items: stretch;
    margin: 0;
    padding: 0 12px;
    list-style: none;
    animation: railScroll var(--rail-duration, 46s) linear infinite;
}

.rail-track > * { margin-right: 12px; }

@keyframes railScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.rail-mask:hover        .rail-track,
.rail-mask:active       .rail-track,
.rail-mask:focus-within .rail-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .rail-mask {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: none;
                mask-image: none;
    }
    .rail-track { animation: none; }
}


/* 2. Card list (Our Lecturers / Placement Cell / ...) --------------------- */

.card_container.rail-track {
    row-gap: 0 !important;
    column-gap: 12px !important;
    padding: 4px 12px 10px !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

.card_container .containerCardList {
    flex: 0 0 auto;
    width: 250px;
    flex-direction: column !important;
    padding: 14px !important;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(16, 20, 32, .12) !important;
    text-align: center;
}

.card_container .containerCardList img {
    width: 100% !important;
    height: 108px;
    object-fit: cover;
    border-radius: 9px;
}

.card_container .containerCardList h2 {
    font-size: 1rem !important;
    line-height: 1.2;
    margin: 10px 0 6px;
}

.card_container .containerCardList p {
    font-size: 0.82rem !important;
    line-height: 1.4;
    margin: 0;

    /* the bodies differ in length by about 3x; clamping keeps the row even */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* The original .wrapper carries height: 100%, which fills the card and then
   pushes .button-wrapper past its bottom edge - the Know More button was
   rendering outside the card. */
.card_container .containerCardList > div { width: 100%; min-width: 0; }
.card_container .containerCardList .wrapper { height: auto !important; }

.card_container .containerCardList .button-wrapper { margin-top: 10px !important; }

.card_container .containerCardList .btn {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
    letter-spacing: 1px !important;
    border-radius: 20px !important;
}


/* 3. Testimonials -------------------------------------------------------- */

/* Broken before this: the phone rule set #textslides to height 0 while the
   jQuery slider kept an absolutely positioned <ul> at width 1014px and
   left -338px, so the quote spilled out of its own card and the section
   showed a tall empty band. On a phone the slider is bypassed entirely and
   the same markup runs as a rail. */

section.testimonial_container { padding: 0 !important; }

section.testimonial_container .container-inf2 { width: 100%; margin: 0; }

section.testimonial_container div#textslides {
    width: 100% !important;
    height: auto !important;
    padding: 14px 0 18px !important;
    overflow: hidden;
}

section.testimonial_container div#textslides ul {
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    width: max-content !important;
    height: auto !important;
    margin: 0;
    padding: 0 12px;
}

section.testimonial_container .textslide {
    flex: 0 0 auto;
    width: 252px !important;
    height: auto !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(16, 20, 32, .16);
    overflow: hidden;
}

section.testimonial_container .textslide > p {
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 14px 14px 10px !important;
    background: none !important;
    border-radius: 0;
    font-size: 0.83rem !important;
    line-height: 1.42rem !important;
    text-align: left !important;
    color: #222b45 !important;

    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* was translateY(-3rem), which lifted the avatar clean out of the card */
section.testimonial_container .studentInfoContainer {
    transform: none !important;
    margin-top: auto;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 9px;
    padding: 0 14px 14px;
}

section.testimonial_container .studentInfoContainer > img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    object-fit: cover;
    filter: none;
}

section.testimonial_container .studentInfoContainer > p {
    font-size: 0.86rem !important;
    font-weight: 700;
    color: #14161c !important;
    text-align: left !important;
}

/* the prev/next arrows drive the jQuery slider, which the rail replaces */
section.testimonial_container #buttons { display: none !important; }


/* --------------------------------------------------------------------------
   4. International Placement Cell copy

   1096px of justified prose. Justification on a ~340px column opens rivers
   of white space between words, which is most of why it read as a wall.
   -------------------------------------------------------------------------- */

.placement_details_container {
    padding: 1rem 0.85rem !important;
    margin: 0 !important;
    border-radius: 0;
}

.placement_details_container h1 {
    font-size: 1.32rem !important;
    line-height: 1.18 !important;
    margin: 0 0 0.5rem !important;
}

.placement_details_container > p {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin: 0 0 0.5rem !important;
}

.pdc-compact .pdc-clamped:not(.pdc-open) {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pdc-more {
    display: inline-block;
    margin: 0.1rem 0 0.3rem;
    padding: 0;
    border: 0;
    background: none;
    font: 600 0.82rem/1.2 Lato, "Segoe UI", system-ui, sans-serif;
    color: #ea4a50;
    cursor: pointer;
}

.pdc-more:focus-visible { outline: 2px solid #ea4a50; outline-offset: 2px; }


/* --------------------------------------------------------------------------
   5. Contact form

   Was a stack of oversized labels and tall inputs running well past a
   screen. Tightened into a single card, with each label sitting close to its
   own field so the pairing is obvious, and a full-width submit.
   -------------------------------------------------------------------------- */

div.contactUs_form_container {
    padding: 1rem 0.85rem 1.4rem !important;
    margin: 0 !important;
}

div.contactUs_header1 { margin-bottom: 0.9rem !important; }

div.contactUs_header1 > h1 {
    font-size: 1.45rem !important;
    line-height: 1.15 !important;
    margin: 0 0 0.35rem !important;
}

div.contactUs_header1 > .title {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    margin: 0 0 0.2rem !important;
}

div.contactUs_header1 > .subTitle {
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    opacity: .78;
}

div.contactUs_form_container form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px 13px 16px !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 16px rgba(16, 20, 32, .12);
}

div.contactUs_form_container div.input_box {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

div.contactUs_form_container div.input_box label {
    display: block;
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #61667a !important;
}

div.contactUs_form_container form input,
div.contactUs_form_container form select,
div.contactUs_form_container form textarea {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #d7dae2 !important;
    border-radius: 9px !important;
    background-color: #f8f9fb !important;

    /* 16px keeps iOS Safari from zooming the page in on focus */
    font-size: 16px !important;
    line-height: 1.3 !important;
    color: #14161c !important;
    box-shadow: none !important;
    -webkit-appearance: none;
            appearance: none;
}

div.contactUs_form_container form select {
    /* appearance:none strips the native arrow, so draw one back */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2361667a' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 32px !important;
}

div.contactUs_form_container form textarea {
    height: 88px !important;
    min-height: 0 !important;
    resize: none !important;
}

div.contactUs_form_container form input::placeholder,
div.contactUs_form_container form textarea::placeholder {
    color: #9aa0b0 !important;
    font-size: 0.92rem !important;
}

div.contactUs_form_container form input:focus,
div.contactUs_form_container form select:focus,
div.contactUs_form_container form textarea:focus {
    border-color: #eb6020 !important;
    background-color: #fff !important;
    outline: 2px solid rgba(235, 96, 32, .22) !important;
    outline-offset: 0 !important;
}

div.contactUs_form_container div.input_box > #contacts-submit {
    display: block;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 13px 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eb6020 !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
}

div.contactUs_form_container div.input_box > #contacts-submit:active { transform: scale(.99); }


/* --------------------------------------------------------------------------
   5b. Form, tightened further

   The form element is a flex column with its own gap, which no amount of
   margin on .input_box can shrink - the boxes sat 102px apart while their
   own height plus margin came to 78. Driving the spacing from the form's
   gap instead makes the whole stack predictable.
   -------------------------------------------------------------------------- */

div.contactUs_form_container form {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    padding: 12px 12px 14px !important;
}

div.contactUs_form_container div.input_box { margin: 0 !important; }

div.contactUs_form_container div.input_box label {
    font-size: 0.72rem !important;
    margin: 0 0 3px !important;
}

div.contactUs_form_container form input,
div.contactUs_form_container form select {
    padding: 8px 11px !important;
}

div.contactUs_form_container form select { padding-right: 30px !important; }

div.contactUs_form_container form textarea {
    height: 68px !important;
    padding: 8px 11px !important;
}

div.contactUs_form_container div.input_box > #contacts-submit {
    padding: 11px 16px !important;
    font-size: 0.9rem !important;
}

div.contactUs_header1 > h1 { font-size: 1.3rem !important; }
div.contactUs_header1 > .title { font-size: 0.88rem !important; }
div.contactUs_header1 > .subTitle { font-size: 0.79rem !important; }
div.contactUs_header1 { margin-bottom: 0.7rem !important; }
div.contactUs_form_container { padding: 0.8rem 0.85rem 1rem !important; }


/* --------------------------------------------------------------------------
   6. Our Partners

   One 2880x179 strip holding every partner logo. At 375px wide that renders
   23px tall - each logo about 47x23px, far too small to identify. Shown at a
   legible height it is 740px wide, so it scrolls instead of shrinking.
   Deliberately slow: this is a trust signal to read, not motion to notice.
   -------------------------------------------------------------------------- */

div.partner_container { padding: 6px 0 10px !important; }

div.partner_container > p.title {
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    margin: 0 0 10px !important;
}

.partner-rail > * { margin-right: 34px; }

div.partner_container img {
    width: auto !important;
    max-width: none !important;
    height: 46px !important;
    padding: 0 !important;
    object-fit: contain;
}


/* --------------------------------------------------------------------------
   7. Footer

   1537px on a phone. Three sources of that: 41px Font Awesome glyphs above
   each contact block, four separate Quick Links lists running one item per
   row, and 15px margins on every row. The link lists go two-up, which is
   where most of the height comes back.

   Note for later: #foocolumn appears 3 times and #foocolumn1 five times in
   this markup. Duplicate ids are invalid and mean getElementById can only
   ever reach the first - worth fixing at source, but styling here goes
   through classes and structure so it does not depend on them.
   -------------------------------------------------------------------------- */

footer .row,
.footer-section .row { margin-top: 6px !important; margin-bottom: 6px !important; }

/* the decorative phone / mail / pin glyphs */
#foocolumn > i.fa-solid,
#foocolumn > i.fas,
#foocolumn > i.fa {
    font-size: 19px !important;
    line-height: 1 !important;
    padding-bottom: 4px !important;
}

#foocolumn ul,
#foocolumn1 ul {
    margin: 0 0 6px !important;
    padding-left: 0 !important;
    list-style: none;
}

#foocolumn ul li,
#foocolumn1 ul li {
    font-size: 0.82rem !important;
    line-height: 1.34 !important;
    padding: 0 !important;
    margin: 0 0 2px !important;
}

#foocolumn1 > p {
    font-size: 0.84rem !important;
    line-height: 1.36 !important;
    margin: 4px 0 5px !important;
}

/* "Quick Links" headings */
#foocolumn1 > p:first-child:not(.foot-logos):not(.ql-dupe) {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    margin: 4px 0 4px !important;
}

/* Four link lists at one item per row was most of the footer's height */
#foocolumn1 ul {
    columns: 2;
    column-gap: 14px;
}

#foocolumn1 ul li { break-inside: avoid; }

/* the affiliation logos sat 2x2 with wide gaps */
#foocolumn1 img,
#foocolumn img {
    max-width: 100% !important;
    height: auto !important;
}


/* --------------------------------------------------------------------------
   7b. Footer, second pass

   Still a full screen after the first compaction. Two causes left: the
   heading "Quick Links" repeated five times, and four 122x44 affiliation
   logos laid out 2x2 by <br><br> pairs.
   -------------------------------------------------------------------------- */

/* Repeats keep their place in the flow as a divider, but stop shouting the
   same words. font-size:0 hides the text without removing the element, so
   the link groups stay distinguishable. */
#foocolumn1 > p.ql-dupe {
    font-size: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 10px auto 8px !important;
    padding: 0 !important;
    max-width: 240px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

/* One flexible row instead of two <br>-separated pairs. The visitor counter
   shares this paragraph, so it wraps onto its own line above the logos. */
#foocolumn1 > p.foot-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 4px 0 6px !important;
}

#foocolumn1 > p.foot-logos br { display: none; }

#foocolumn1 > p.foot-logos > a { flex: 0 0 auto; }

#foocolumn1 > p.foot-logos img {
    height: 30px !important;
    width: auto !important;
    max-width: none !important;
}

/* the counter is not a logo - let it hold the first row on its own */
#foocolumn1 > p.foot-logos > img { flex: 1 0 100%; height: 16px !important; }


/* --------------------------------------------------------------------------
   7c. Footer rows

   First attempt put the three contact blocks in three columns. That fit, but
   at ~110px per column the e-mail addresses broke mid-word
   ("info@iifamultimed / ia.in"), which reads as a broken page rather than a
   compact one. Legibility wins: one column, with the icon set beside its
   lines instead of stacked above them, which recovers most of the height the
   three-column version was buying.
   -------------------------------------------------------------------------- */

.foot-row { margin-top: 6px !important; margin-bottom: 6px !important; }

.foot-row-contact { display: block !important; }

/* icon in a fixed narrow column, its detail lines beside it */
.foot-row-contact > #foocolumn {
    display: grid !important;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 0 12px;
    padding: 9px 2px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.foot-row-contact > #foocolumn:last-child { border-bottom: 0; }

.foot-row-contact #foocolumn > i.fa-solid,
.foot-row-contact #foocolumn > i.fas,
.foot-row-contact #foocolumn > i.fa {
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    opacity: .75;
}

.foot-row-contact #foocolumn ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.foot-row-contact #foocolumn ul li {
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
    text-align: left !important;
    /* addresses are short enough to fit now - stop breaking words */
    word-break: normal !important;
    overflow-wrap: anywhere;
}
/* --------------------------------------------------------------------------
   7d. Footer container overflow (pre-existing bug)

   .footerContainer computes to display:table at a fixed 1104px, so on a
   375px screen every row inside it is laid out three times wider than the
   viewport. body{overflow:hidden} then clips the excess, which is why the
   footer's right-hand content simply was not there - the e-mail and address
   blocks were rendering off-screen rather than stacking.

   Making it a normal fluid block is what lets the rows above lay out.
   -------------------------------------------------------------------------- */

.container.footerContainer {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.container.footerContainer .row {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* --------------------------------------------------------------------------
   7e. Footer polish

   The four affiliation logos are different natural widths, so a plain flex
   row left one stranded on a second line. Giving each a quarter of the row
   and letting the image contain itself inside makes them read as a set.
   -------------------------------------------------------------------------- */

#foocolumn1 > p.foot-logos > a {
    flex: 0 0 23%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 4px;
    padding: 3px 4px;
}

#foocolumn1 > p.foot-logos img {
    width: 100% !important;
    height: auto !important;
    max-height: 26px;
    object-fit: contain;
}

/* the visitor counter is not one of the logos - keep it on its own line */
#foocolumn1 > p.foot-logos > img {
    flex: 1 0 100%;
    max-width: 200px;
    margin: 0 auto 4px;
    height: 16px !important;
}

/* Section headings: one weight, one colour, consistent rhythm. */
#foocolumn1 > p:first-child:not(.foot-logos):not(.ql-dupe) {
    font-size: 0.86rem !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 6px 0 6px !important;
}

#foocolumn1 ul li {
    line-height: 1.5 !important;
    margin: 0 0 3px !important;
}

/* Copyright strip */
.footerContainer + * ,
.container.footerContainer ~ div {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
}


/* --------------------------------------------------------------------------
   7f. Logo row: kill the whitespace flex items

   The markup separates the logos with "&nbsp;&nbsp;". In a flex container
   each of those text runs becomes an anonymous flex item, and at the footer's
   inherited 22px they were wide enough to push the fourth logo onto a row of
   its own. font-size:0 on the container collapses them; the real text inside
   gets its size back explicitly.

   This also brings "VISITORS" and the counter's alt text back to a sane size
   - they were inheriting that same 22px.
   -------------------------------------------------------------------------- */

#foocolumn1 > p.foot-logos {
    font-size: 0 !important;
    line-height: 0;
}

#foocolumn1 > p.foot-logos b {
    display: block;
    width: 100%;
    font-size: 0.82rem !important;
    line-height: 1.3;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

/* the counter itself, and whatever alt text shows if it fails to load */
#foocolumn1 > p.foot-logos > img {
    font-size: 0.72rem !important;
    line-height: 1.3;
}


/* --------------------------------------------------------------------------
   8. Tap target size

   Lighthouse flagged 13 links whose hit area is under 24x24 CSS px or which
   sit too close to a neighbour - almost all of them footer links, where the
   line-height alone decided the target. Padding the anchor rather than the
   list item keeps the visual rhythm while giving each link a real target.
   -------------------------------------------------------------------------- */

#foocolumn1 ul li a,
#foocolumn ul li a,
.foot-row-contact #foocolumn ul li a {
    display: inline-block;
    min-height: 24px;
    padding: 3px 2px;
    line-height: 1.5;
}

/* the two-column link lists need a little vertical separation so adjacent
   targets are not touching */
#foocolumn1 ul li { margin-bottom: 5px !important; }
