@charset "UTF-8";
/* ===========================================================================
   SECTION — "Why Choose Rudra Yogpeeth" (the nine reasons) + the Call now box
   ---------------------------------------------------------------------------
   Two jobs, both colour/presentation only. No markup, no copy, no layout
   rewrite — every selector mirrors the live theme's own so it ties on
   specificity and wins on source order.

   1. The nine green number badges (01 - 09) become RED badges with a WHITE
      ICON. The numbers are not deleted from the page; they are hidden with
      font-size:0 and an icon is masked in over the badge. Nothing in the HTML
      changes, so the order can never drift out of sync with the markup.

   2. The "Call now" circle, its icon, and its hover, which were still the old
      green.

   WHY A MASK AND NOT A FILTER. The live theme tints its icons with a long
   `filter: invert() sepia() saturate() hue-rotate()` chain, which is guesswork
   to retarget at an exact hex. `mask-image` takes only the artwork's ALPHA and
   paints it in `background-color`, so the icon is EXACTLY #fff (or exactly
   --ryp-red) with nothing to tune and nothing to verify by eye.

   The icons below are inline data-URI SVGs — no new files, no extra requests,
   nothing to deploy. They are stroked line art at 24x24 to sit with the rest
   of the page's icon language.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. THE NINE BADGES
   --------------------------------------------------------------------------- */
.right-choice-section .rc-reason-num,
.career-paths-section .rc-reason-num {
    background: linear-gradient(135deg, var(--ryp-red) 0%, var(--ryp-red-deep) 100%);
    box-shadow: 0 8px 24px rgba(181, 31, 20, .22);
    /* Hides the "01" without removing it from the markup. */
    font-size: 0;
    line-height: 0;
}

/* The icon itself. background-color is the paint; the SVG supplies the shape. */
.right-choice-section .rc-reason-num::before,
.career-paths-section .rc-reason-num::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: none;
    background-color: #fff;
    -webkit-mask-image: var(--rc-icon);
            mask-image: var(--rc-icon);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}

/* ---------------------------------------------------------------------------
   ONE ICON PER REASON, matched to what each one actually says.
   The <li> are direct children of ul.rc-reasons, so :nth-child is exact.

   THIS MAPPING IS POSITIONAL. If a reason is added, removed or reordered in
   index.php, these numbers must be regenerated or every icon below the change
   will be wrong. It happened once already: reason 03 was removed to make the
   list even for the two-column grid, and 04-09 all shifted up by one.
   --------------------------------------------------------------------------- */
/* 01  Yoga Alliance USA Registered  ->  an award seal */
.right-choice-section .rc-reasons > .rc-reason:nth-child(1) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(1) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.2 14.4 7 22l5-2.8 5 2.8-1.2-7.6'/%3E%3C/svg%3E");
}

/* 02  Specialist E-RYT 500 Instructors  ->  a teacher */
.right-choice-section .rc-reasons > .rc-reason:nth-child(2) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(2) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E");
}

/* 03  In-depth learning program  ->  an open book */
.right-choice-section .rc-reasons > .rc-reason:nth-child(3) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(3) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h5a4 4 0 0 1 4 4v11a3 3 0 0 0-3-3H3z'/%3E%3Cpath d='M21 5h-5a4 4 0 0 0-4 4v11a3 3 0 0 1 3-3h6z'/%3E%3C/svg%3E");
}

/* 04  Two Campuses, One Standard  ->  two buildings */
.right-choice-section .rc-reasons > .rc-reason:nth-child(4) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(4) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='10' width='7' height='11' rx='1'/%3E%3Crect x='14' y='4' width='7' height='17' rx='1'/%3E%3Cpath d='M2 21h20'/%3E%3C/svg%3E");
}

/* 05  Affordable Pricing  ->  a price tag */
.right-choice-section .rc-reasons > .rc-reason:nth-child(5) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(5) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h8l10 10-8 8L3 11z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.6'/%3E%3C/svg%3E");
}

/* 06  Over 10,000+ Students and a 4.9 Rating  ->  a star */
.right-choice-section .rc-reasons > .rc-reason:nth-child(6) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(6) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.7 6.3.9-4.5 4.4 1.1 6.2L12 17.3 6.4 20.2l1.1-6.2L3 9.6l6.3-.9z'/%3E%3C/svg%3E");
}

/* 07  A Global Student Community  ->  a globe */
.right-choice-section .rc-reasons > .rc-reason:nth-child(7) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(7) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c3 3.6 3 14.4 0 18-3-3.6-3-14.4 0-18z'/%3E%3C/svg%3E");
}

/* 08  Ayurveda & Yogic Living  ->  a leaf */
.right-choice-section .rc-reasons > .rc-reason:nth-child(8) .rc-reason-num,
.career-paths-section .rc-reasons > .rc-reason:nth-child(8) .rc-reason-num {
    --rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4C10 4 4 9.5 4 17c0 1 .1 2 .3 3C12.5 20 20 13.5 20 4z'/%3E%3Cpath d='M4.5 20C7 14.5 11 11 16 9'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------------
   THE CARD around each reason — border, hover border and hover shadow were all
   still the old green.
   --------------------------------------------------------------------------- */
.right-choice-section .rc-reason,
.career-paths-section .rc-reason {
    border-color: rgba(222, 42, 29, .18);
    box-shadow: 0 4px 14px rgba(181, 31, 20, .05);
}
.right-choice-section .rc-reason:hover,
.career-paths-section .rc-reason:hover {
    border-color: rgba(222, 42, 29, .40);
    box-shadow: 0 12px 26px rgba(222, 42, 29, .12);
}

/* The closing panel in the same section. Its drop shadow was tinted with the
   old green too — the last green thing left in this section once the badges
   and the card borders were done. */
.right-choice-section .rc-cta,
.career-paths-section .rc-cta {
    border-color: rgba(222, 42, 29, .22);
    box-shadow: 0 4px 14px rgba(181, 31, 20, .05);
}

/* ---------------------------------------------------------------------------
   MOBILE — the accordion chevron and the focus ring
   ---------------------------------------------------------------------------
   Under 768px each heading becomes the accordion toggle and the live theme
   draws a green chevron on it, plus a green focus outline. Both are red now.
   The accordion itself is untouched: it has a real toggle here (role="button",
   aria-expanded), so unlike the certification cards there is nothing hidden
   that a reader cannot open.
   --------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .right-choice-section .rc-reason .rc-reason-body > .small-heading::after,
    .career-paths-section .rc-reason .rc-reason-body > .small-heading::after {
        border-right-color: var(--ryp-red);
        border-bottom-color: var(--ryp-red);
    }
    .right-choice-section .rc-reason .rc-reason-body > .small-heading:focus-visible,
    .career-paths-section .rc-reason .rc-reason-body > .small-heading:focus-visible {
        outline-color: var(--ryp-red);
    }
}

/* ===========================================================================
   2. THE "CALL NOW" BOX
   ---------------------------------------------------------------------------
   At rest: white circle, red edge, red icon. On hover: the circle fills red
   and the icon turns white — the same outline-to-fill move the buttons make.

   The <img> is replaced by a masked pseudo-element rather than re-tinted. The
   image is decorative (the link already reads "Call now +91-8534973621" and
   carries title="Call us"), so nothing is lost by hiding it; display:none also
   keeps the icon centred in the flex box, which visibility:hidden would not.
   =========================================================================== */
.multi-btn-wrap .call-box .icon-box {
    border-color: var(--ryp-red);
    transition: background-color .3s;
}
.multi-btn-wrap .call-box .icon-box img { display: none; }

.multi-btn-wrap .call-box .icon-box::after {
    content: "";
    width: 24px;
    height: 24px;
    background-color: var(--ryp-red);
    -webkit-mask: url("../../../assets/images/icons/call.svg") center / contain no-repeat;
            mask: url("../../../assets/images/icons/call.svg") center / contain no-repeat;
    transition: background-color .3s;
}
@media (max-width: 768px) {
    .multi-btn-wrap .call-box .icon-box::after { width: 20px; height: 20px; }
}

.multi-btn-wrap .call-box:hover .icon-box { background: var(--ryp-red); }
.multi-btn-wrap .call-box:hover .icon-box::after { background-color: #fff; }

/* The number under "Call now" turned green on hover. */
.multi-btn-wrap .call-box:hover .text { color: var(--ryp-red-ink); }

/* ===========================================================================
   THE NINE REASONS AS A TWO-COLUMN GRID OF BOXES
   ---------------------------------------------------------------------------
   One tall stack of full-width rows became a lot of scrolling for what is a
   scannable list. Two columns from 48rem up, equal-height boxes, badge pinned
   to the top of each so the headings line up across the row.

   The accordion stays exactly as it was below 48rem — one column, tap to open.
   =========================================================================== */
@media (min-width: 48rem) {
    .right-choice-section .rc-reasons,
    .career-paths-section .rc-reasons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .right-choice-section .rc-reason,
    .career-paths-section .rc-reason {
        /* The flex row is kept (badge | body) but the badge stops centring
           itself vertically: in a two-column grid the boxes in a row are the
           same height, and a centred badge would float away from its own
           heading whenever the neighbour's text was longer. */
        align-items: flex-start;
        padding: clamp(1rem, .8rem + .8vw, 1.375rem);
    }

    .right-choice-section .rc-reason .rc-reason-body,
    .career-paths-section .rc-reason .rc-reason-body {
        display: flex;
        flex-direction: column;
        gap: .375rem;
    }
}

/* ===========================================================================
   THE REASON ROWS ON A PHONE — the body belongs under the heading
   ---------------------------------------------------------------------------
   Owner, 16 Nov 2026, with the "Why Rudra Yogpeeth" accordion circled on a
   phone: the body text "text box main proper nahi hai".

   MEASURED at 375px, .right-choice-section .rc-reason:
     li            20..355   grid, columns "22px 299px"
     the marker    20..42    column 1
     the heading   56..355   column 2
     the paragraph 20..355   column 1 of the NEXT row  <-- 36px out

   The cause is a live rule, assets/css/style.css line 2160, inside
   @media (max-width: 576px):

       .right-choice-section .rc-reason .rc-reason-body { display: contents }

   That dissolves the wrapper, so the heading and the paragraph stop being
   siblings in a box and become grid items in their own right. The heading
   auto-places beside the marker; the paragraph wraps to the next row and
   lands back under the marker. The redesign already sets the wrapper back to
   flex, but only from 48rem up, so the phone was never covered.

   The wrapper is NOT restored here. Keeping `display: contents` is what lets
   the heading sit beside its marker instead of under it, which is the right
   shape for a phone. The paragraph is simply told which column it belongs in.

   The text column becomes 299px instead of 335px. That is the point: it now
   starts where the heading starts, and 299px still holds about 37 characters
   a line, inside the 35-60 a phone wants.
   =========================================================================== */

@media (max-width: 576px) {
    .right-choice-section .rc-reason .rc-reason-body > p,
    .career-paths-section .rc-reason .rc-reason-body > p,
    .right-choice-section .rc-reason .rc-reason-body > ul,
    .career-paths-section .rc-reason .rc-reason-body > ul {
        grid-column: 2;
    }
}
